import request from '@/utils/request'

export function getInventories(data) {
  return request({
    url: '/core/busCheck/query',
    method: 'post',
    data: data
  })
}

export function addInventory(data) {
  return request({
    url: '/core/busCheck/add',
    method: 'post',
    data: data
  })
}

export function getInventoryNo(data) {
  return request({
    url: '/core/busCheck/getCheckNo',
    method: 'post',
    data: data
  })
}

export function getInventoryExceptionList(data) {
  return request({
    url: '/core/busCheck/queryException',
    method: 'post',
    data: data
  })
}

export function queryInventoryDetails(data) {
  return request({
    url: '/core/busCheck/queryDetails',
    method: 'post',
    data: data
  })
}

export function handleInventoryException(data) {
  return request({
    url: '/core/busCheck/operException',
    method: 'post',
    data: data
  })
}
